home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / bbsutils / tb502man.arj / P143 < prev    next >
Text File  |  1994-02-13  |  3KB  |  64 lines

  1.  
  2.  
  3.  
  4.  
  5.      The TriBBS Bulletin Board System                                   143
  6.  
  7.      13 to 16       long           If the message is a response to a
  8.                                    previous message, this value will hold
  9.                                    the original message's number. 
  10.                                    Otherwise, this will be 0.
  11.  
  12.  
  13.      Mnnnn.TXT
  14.      ---------
  15.  
  16.      Is the message conference's text file and is located in node 1's MWORK
  17.      directory.  Where the conference number is specified by nnnn and is a
  18.      number from 0001 to 9999.  The start of each message is pointed to by
  19.      an appropriate pointer in the conference's Mnnnn.PTR file.  Each
  20.      message is saved using the following format:
  21.  
  22.      Byte           Data           Description
  23.      Position       Type
  24.  
  25.      1 to 2         int            The message's length.
  26.  
  27.      3 to 4         int            Compressed/uncompressed flag. 1
  28.                                    indicates a compressed message and 0
  29.                                    indicates an uncompressed message.
  30.      5 to ...       char [length]  The message's compressed or uncompressed
  31.                                    text.
  32.  
  33.      As the above data structure indicates, TriBBS can save a message's
  34.      text in either a compressed or uncompressed state.  Because of the way
  35.      LZS data compression works, a short message may actually grow in
  36.      length when compressed.  Therefore, TriBBS will attempt to compress
  37.      all messages.  If the message's compressed length is shorter than the
  38.      message's uncompressed length, the message will be saved in a
  39.      compressed state.  Otherwise, TriBBS saves the message in its
  40.      uncompressed state to conserve on disk space.
  41.  
  42.  
  43.      FAREA.DAT
  44.      ---------
  45.  
  46.      Is TriBBS's file area configuration file and is located in node 1's
  47.      MWORK directory.  Each file area record is as follows:
  48.  
  49.      Byte           Data           Description
  50.      Position       Type
  51.         1 to    2   int            The file area's minimum security level.
  52.         3 to    4   int            The file area's sort flag.  TRUE if sort
  53.                                    by file name.  FALSE if sort by date.
  54.         5 to    6   int            Private file area flag.
  55.         7 to   47   char [41]      The file area's description.
  56.        48 to  128   char [81]      The file area's path.
  57.       129 to  209   char [81]      The file area's upload path.
  58.       210 to  290   char [81]      The file area's file list.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.